<?php

class group_acategory extends CActiveRecord
{
	public static function model($className = __CLASS__ )
	{
		return parent::model($className);
	}
	
	public function relations()
	{
		return array(
			"acategory" => array(self::BELONGS_TO, 'acategory', 'acategory_id'),
			"group" => array(self::BELONGS_TO, 'group', 'group_id'),
		);
	}
}
